"""
======================
Author: 柠檬班-小简
Time: 2022/10/21 21:53
Project: day4_framwork_V1
Company: 湖南零檬信息技术有限公司
======================
"""
import requests

url = "http://mall.lemonban.com:8108/adminLogin"
header = {"locale":"zh_CN"}
req_data = {
    "principal":"student",
    "credentials":"123456a",
    "imageCode":"lemon"
    }
resp = requests.post(url,json=req_data,headers=header)
print(resp.text)